<script>
    var name = '张三',
         obj = {
            name :'李四',
            sayName() {
                console.log(this.name);
            }
        }
        obj.sayName()
       var temp =obj.sayName
       temp()
       console.log(temp);
       console.log(window);
</script>